package com.atguigu.gmall.order.config;

import com.atguigu.gmall.common.inteceptor.FeignInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: 李旭
 * @create: 2021-07-22 14:25
 **/
@Configuration
public class FeignConfig {

    //手动式 实例化
    @Bean
    public FeignInterceptor feignInterceptor(){
        return new FeignInterceptor();
    }
}
